package com.eastart.template.entity;

import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eastart.template.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 用户(AuthUsers)实体类
 *
 * @author yangxiaohang
 * @since 2023-02-22 22:10:14
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("auth_users")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value ="AuthUsersEntity",description ="用户")
public class AuthUsersEntity extends BaseEntity {
    

    
    @ApiModelProperty(value = "用户主键")
	@TableId(value = "id", type = IdType.ASSIGN_UUID)
	@ExcelProperty(value = "用户主键")
    private String id;

    /**
     * 姓名
     */
	@ApiModelProperty(value = "姓名")
    @TableField(value = "name")
	@ExcelProperty(value = "姓名")
    private String name;

    /**
     * 生日
     */
	@ApiModelProperty(value = "生日")
    @TableField(value = "birthday")
	@ExcelProperty(value = "姓名")
    private Date birthday;



}
